package com.example.demo.redis.service;

import com.example.demo.model.Material;
import com.example.demo.util.Result;
import com.example.demo.util.ResultVo;

import java.util.List;

/**
 * Created by Administrator on 2018/12/27.
 */
public interface RedisService {
    Result<List<Material>> queryMaterials(Integer id);

    Result<List<Material>> updateMaterialById(Material material);

    void deleteMaterialById(Integer id);
}
